assisting with calculations